package cn.juque.lucenecandy.core.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>DataTypeEnum</li>
 * </ul>
 * @date 2023-11-29 10:52:43
 **/
public enum DataTypeEnum {

    /**
     * enum
     */
    STRING(1, "String"),
    INT(2, "Integer"),
    DATE(3, "Date"),
    DECIMAL(4, "BigDecimal"),
    LONG(5, "Long"),
    ;
    private final Integer code;

    private final String label;

    DataTypeEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }
}
